package cn.ztr.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
public class LoginDTO {
    @NotBlank(message = "密码不能为空~")
    private String password;
    @NotBlank(message = "用户名不能为空~")
    private String username;
    private Integer type=0;

}
